# -*- coding: utf-8 -*-

# 怪异数组转换
# The requested array has an inhomogeneous shape after 1 dimensions
# FAILED CODING!
# FIXME
import numpy as np  
   
#example 1:  
data1=[[1,1,1],[2,2],[3,3,3]]  
arr3=np.asarray(data1)  
print ('data1:\n',data1)  
print ('arr3:\n',arr3)